package com.aaa.rent.dao;
import com.aaa.entity.Car;
import com.aaa.vo.CarVo;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface CarDao extends BaseMapper<Car> {


    List<Car> selectAllCars(String carName);

    Integer updateState(@Param("id") Integer id);
}
